home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / Acere (Card Game) / AcereÄ.sit / Acereƒ / Acere notes < prev    next >
Text File  |  1994-08-24  |  2KB  |  32 lines

  1. Acere
  2. A Work in Progress by Deirdre Saoirse-Savino (Deeny3@aol.com)
  3.  
  4. This is a card game under construction. When it grows up, I expect it will be something
  5. like the Microsoft solitaire game "FreeCell." 
  6.  
  7. I wrote it for two reasons:
  8.  
  9. 1) I'd never written a card game before and I wanted to know how to do one.
  10. 2) I'd never used PowerPlant's class library and wanted a project to help me learn it.
  11.  
  12. Frankly, I found it easier to work with than Think's Class Library, though I've not spent
  13. enough time analyzing why this might be so. I liked the Constructor, but I haven't used
  14. Think's Visual Architect enough to give a fair comparison between the two.
  15.  
  16. Right now, this is a very rough piece. It makes Stupid Assumptions (like you have
  17. Color Quickdraw). I've changed the way I did things several times, so there's code that
  18. shouldn't be there. And I've rethought things I haven't changed yet (and a few I have).
  19.  
  20. However, it does deal a deck of cards (when you create a new document) and allow you to
  21. move them according to various rules. I've never tried creating a document twice. Right now,
  22. it doesn't support two documents, which I will fix later. It may not even support sequential documents.
  23.  
  24. The upper left panes are "WellFreeCell" class. The upper right are "WellDeck" class. The
  25. lower eight are "WellStack" class. Each of these is derived from a "CardWell" class, a generic
  26. class for card manipulation.
  27.  
  28. At present, dragging of cards isn't supported -- you have to click on the card you want to move,
  29. then click on the card you want to move it onto. If the Mac beeps, you tried an illegal move.
  30.  
  31. Comments and criticisms cheerfully accepted via email. You may freely use any of these coding
  32. ideas/fragments/concepts in any non-commercial work.